import Vue from "vue";
import VueLazyload from "vue-lazyload";
import App from "./App.vue";
import router from "./router";
import store from "./store";

// 所有全局的内容，都在main.js中操作
import "./styles/reset.css";
import "./styles/iconfont.css";
import "./plugins/element.js";

Vue.use(VueLazyload, {
  preLoad: 1.3,
  loading: "./images/loading.gif",
  attempt: 1,
});

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
